import { type RouteRecordRaw } from 'vue-router'
const documentRouters: Array<RouteRecordRaw> = [
  {
    path: '/document',
    name: 'Document',
    redirect: '/document/elememtPlus',
    meta: {
      title: '官方文档',
      icon: 'Document'
    },
    children:[
        {
            path: '/document/elememtPlus',
            name: 'ElementPlus',
            component: () => import('@/views/document/elementPlus/index.vue'),
            meta:{
                title: 'Element Plus',
                icon:'Document'
            }
        },{
          path:'/document/nest',
          name:'Nest',
          component: () => import('@/views/document/nest/index.vue'),
          meta:{
            title: 'NestJs',
            icon:'Document'
          }
        }
    ]
  }
]
export default documentRouters